package com.example.mobilesafe.activity;

import android.content.Intent;
import android.os.Bundle;

import com.example.mobilesafe.R;

public class SetupOneActivity extends BaseSetupActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_setup_one);
    }

//    /**
//     * 1.“下一页”按钮的点击方法
//     * @param view
//     */
//    public void nextPage(View view){
//        Intent intent = new Intent(getApplicationContext(), SetupTwoActivity.class);
//        startActivity(intent);
//        finish();
//        // 开启平移动画
//        overridePendingTransition(R.anim.next_in_anim,R.anim.next_out_anim);
//    }


    @Override
    protected void showNextPage() {
        Intent intent = new Intent(getApplicationContext(), SetupTwoActivity.class);
        startActivity(intent);
        finish();
        // 开启平移动画
        overridePendingTransition(R.anim.next_in_anim,R.anim.next_out_anim);
    }

    @Override
    protected void showPrePage() {
        // 空实现
    }
}
